home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / BackSpaceViews / ColorView.BackModule / ColorView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  807 b   |  37 lines

  1. #import "BackView.h"
  2.  
  3. #define MAXINTF 4294967295.0 // to turn random 32-bit int to float 0<x<1
  4.  
  5. @interface ColorView:BackView
  6. {
  7.     int granularity, speed, count, tick, flip;
  8.     float minBright, maxBright;
  9.     BOOL colChange, colRandom;
  10.  
  11.     int mywidth, myheight;    // how big am I?
  12.     int winNum;            // who am I?
  13.     float curX, curY;        // where am I?
  14.     id  myPrefWindow;        // Preferences Window
  15.  
  16.     id  maxSlider;
  17.     id  minSlider;
  18.     id  colorWell;
  19.     NXColor showColor, currentColor, nextColor, staticColor;
  20. }
  21.  
  22. - oneStep;
  23. - drawSelf:(const NXRect *)rects :(int)rectCount;
  24. - (BOOL)isBoringScreenSaver;
  25. - (BOOL) useBufferedWindow;
  26.  
  27. - show;
  28. - newColor:sender;
  29. - newMaxBright:sender;
  30. - newMinBright:sender;
  31. - newGranularity:sender;
  32. - newSpeed:sender;
  33. - colorsChange:sender;
  34. - colorsRandom:sender;
  35.  
  36. @end
  37.